#include<bits/stdc++.h>
using namespace std;
#define N 200
#define A1 -10000
#define A2 10000
int main()
{
    srand(time(NULL));
    int n = rand() % N + 1, a;//1<=n<=200000
    printf("%d\n", n);
    for(int i = 1; i <= n; ++i)
    {
        a = rand() % (A2 - A1 + 1) + A1;
        printf("%d ", a);
    }
    return 0;
}
